package com.singbon.server.service;
import com.singbon.server.dao.AuthgroupuserMapper;
import com.singbon.server.pojo.AuthgroupUser;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
/**
 */
@Service
public class AuthGroupUserService {
  @Resource
  private AuthgroupuserMapper authgroupuserMapper;
  public int deleteByPrimaryKey(Integer id) {
    return authgroupuserMapper.deleteByPrimaryKey(id);
  }
  public int insert(AuthgroupUser record) {
    return authgroupuserMapper.insert(record);
  }
  public int insertSelective(AuthgroupUser record) {
    return authgroupuserMapper.insertSelective(record);
  }
  public AuthgroupUser selectByPrimaryKey(Integer id) {
    return authgroupuserMapper.selectByPrimaryKey(id);
  }
  public int updateByPrimaryKeySelective(AuthgroupUser record) {
    return authgroupuserMapper.updateByPrimaryKeySelective(record);
  }
  public int updateByPrimaryKey(AuthgroupUser record) {
    return authgroupuserMapper.updateByPrimaryKey(record);
  }
  public List<AuthgroupUser> listByUserId(Integer operId) {
    return authgroupuserMapper.listByUserId(operId);
  }
}
